package com.wanglei.mapper;

import com.wanglei.domain.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanglei.domain.vo.MenuVVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author MrWang
* @description 针对表【sys_menu(菜单权限表)】的数据库操作Mapper
* @createDate 2023-07-03 13:48:28
* @Entity com.wanglei.domain.entity.Menu
*/
@Repository
public interface MenuMapper extends BaseMapper<Menu> {
    List<String> selectPermsByUserId(Long userid);

    List<Menu> selectAllRouterMenu();

    List<Menu> selectRouterMenuTreeByUserId(Long userId);

    List<MenuVVo> treeselect();
}




